package com.bocai.mapper;

import com.bocai.bean.TSalesOutMoneyInfo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface TSalesOutMoneyInfoMapper {
    int deleteByPrimaryKey(Integer putForwardId);

    int insert(TSalesOutMoneyInfo record);

    int insertSelective(TSalesOutMoneyInfo record);

    TSalesOutMoneyInfo selectByPrimaryKey(Integer putForwardId);

    List<Map<String, Object>> selectOutMoney(Integer salesId);

    List<Map<String, Object>> selectMoneyLists();

    BigDecimal selectMoneyByKey(@Param(value="distributorId")Integer distributorId);

    int updateByPrimaryKeySelective(TSalesOutMoneyInfo moneyInfo);

    int updateByPrimaryKey(TSalesOutMoneyInfo record);
}